<template>
  <div class="Icon-info" >
    <div class="hotSong" @click="ToGoods">
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-tuijian"></use>
      </svg>
      <span>每日推荐</span>
    </div>

    <div class="hotSong">
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-shouyinji"></use>
      </svg>
      <span>私人FM</span>
    </div>
    <div class="hotSong">
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-gedan"></use>
      </svg>
      <span>歌单</span>
    </div>
    <div class="hotSong">
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-caipinpaihangbang"></use>
      </svg>
      <span>排行榜</span>
    </div>
    <div class="hotSong">
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-zhiboke"></use>
      </svg>
      <span>直播</span>
    </div>
  </div>
</template>

<script>
import {useRouter} from 'vue-router'
import {reactive} from "vue";
// import router from "@/router";

export default {
  name: "Hotlists",
  setup() {
    const router = useRouter()
    const ToGoods = () => {
      router.push('Goods')
    }
    return {
      ToGoods
    }
  },

}
</script>

<style scoped>
.icon {
  width: 0.6rem;
  height: 0.6rem;
}

.hotSong {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hotSong span {
  margin-top: 0.1rem;
  font-size: 0.2rem;
}

.Icon-info {
  display: flex;
  justify-content: space-around;
  margin-top: 0.2rem;
  border-bottom: 0.01rem solid rgb(0,0,0,0.1);
  padding-bottom: 0.2rem
}
</style>